﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Resto.CostControl.Core.Models.SysSettings
{
    /// <summary>
    /// 角色实体类
    /// </summary>
    [Table("RoleInfos")]
    public class RoleInfo : BaseModel
    {
        public string Id { get; set; }

        [Display(Name = "角色标识")]
        public string RoleCode { get; set; }

        [Display(Name = "角色名称")]
        public string RoleName { get; set; }

        [Display(Name = "备注")]
        public string Remark { get; set; }

        /// <summary>
        /// 是否为系统角色
        /// </summary>
        [Display(Name = "系统角色")]
        public bool IsSystem { get; set; }

        [Display(Name = "排序号")]
        public int SeqNo { get; set; }
    }
}
